package com.tequila.core.service;

import com.tequila.domain.dto.CardCouponWishDto;
import com.tequila.domain.entity.CardCouponWish;
import com.tequila.domain.query.CardCouponWishQuery;

import fe.core.Pagination;

import java.util.List;

public interface CardCouponWishService {

    public Pagination<CardCouponWishDto> queryPageListByParam(CardCouponWishQuery query);

    public CardCouponWishDto queryById(Long id);

    public List<CardCouponWishDto> queryByIdList(List<Long> idList);

    public List<CardCouponWishDto> queryListByParam(CardCouponWishQuery query);

    public Long insert(CardCouponWish entity);

    public Long save(CardCouponWish entity);

    public int updateById(CardCouponWish param);

    public int updateSelectiveById(CardCouponWish param);

    public int deleteById(Long id);

    public int deleteByIdList(List<Long> idList);
}
